package com.example.backweb.common.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 2024/6/1 19:40
 * wuhon
 * com.example.backweb.common.properties
 * backweb
 */

@Component
@ConfigurationProperties(prefix = "whk.jwt")
@Data
public class JwtProperties {
    private String secretKey;//签名密钥
    private Long jWtTime;//过期时间
    private String tokenName;//token名
}
